home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / include / bios.h < prev    next >
C/C++ Source or Header  |  1996-01-30  |  1KB  |  36 lines

  1. /* This is file bios.h */
  2. /*
  3. ** Copyright (C) 1994 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. **
  5. ** This file is distributed under the terms listed in the document
  6. ** "copying.dj", available from DJ Delorie at the address above.
  7. ** A copy of "copying.dj" should accompany this file; if not, a copy
  8. ** should be available from where this file was obtained.  This file
  9. ** may not be distributed without a verbatim copy of "copying.dj".
  10. **
  11. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. */
  14.  
  15. #ifndef _BIOS_H_
  16. #define _BIOS_H_
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. int bioscom(int cmd, char data, int port);
  23. int biosdisk(int cmd, int drive, int head, int track, int sector,
  24.          int nsects, void *buffer);
  25. int biosequip(void);
  26. int bioskey(int cmd);
  27. int biosmemory(void);
  28. int biosprint(int cmd, int byte, int port);
  29. long biostime(int cmd, long newtime);
  30.  
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34.  
  35. #endif
  36.